var express = require("express");
var Mock = require('mockjs')
var router = express.Router();
//处理班级信息的路径
router.get("/",(req,resp)=>{
    let data = Mock.mock({
       "classList|3":[
           {"id|+1":1,"name":"班级@integer(1,3)"}
       ] 
    })
    resp.end(JSON.stringify(data));
})
module.exports = router;